tenta isso...
local givenexp = getWildPokemonExp(cid)
local killer = getItemAttribute(corpse.uid, "corpseowner")
if givenexp > 0 then
for a = 1, #deathList do
local pk = deathList[a]
if isCreature(pk) then
if isPremium(pk) and getPlayerLevel(pk) <= 40 then
extra = 0.75
elseif isPremium(pk) then
extra = 0.25
elseif getPlayerLevel(pk) <= 40 then
extra = 0.5
else
0
end
playerAddExp(pk, math.floor(playerExperienceRate * givenexp * getDamageMapPercent(pk, cid)*(1+extra)))
end
end
end











info
Grupo: Conde
Registrado: 02/01/12
Posts: 526
Reputação: +21
Simplesmente não usem o party pra duel. Slicer ja falo que mais pra frente ele ranca o party de duelar.
Bom pra quem dizia que era impossivel ter um server sem as sourcers, ja temos um duelzin basico com channels e maneiras de balancear o server. Só espero que mais pra frente não aparece um bug crítico e cale minha boca ..rsrs